const express = require('express');
const router = express.Router();

const testRoutes = require('./text.route')
const uploadRoutes = require('./upload.route')
const swaggerRoutes = require('./swagger.route')
const emailRoutes = require('./email.route')
const userRoutes = require('./user.route')
const roleRoutes = require('./role.route')
const routeRoutes = require('./route.routes')

router.use('/', swaggerRoutes)
router.use('/api', testRoutes)
router.use('/api', uploadRoutes)
router.use('/api', emailRoutes)
router.use('/api', userRoutes)
router.use('/api', roleRoutes)
router.use('/api', routeRoutes)


module.exports = router;